/* Страница авторизации на вебинар */
body.pageLogin {
    height: 100vh;
    background: url(https://fs.getcourse.ru/fileservice/file/download/a/66109/sc/383/h/5ecff9ab665a625a18dba341d69eeb0c.png) no-repeat center / cover;
}

body.pageLogin .standard-page-content {
    position: relative;
    margin-top: 30px;
}

body.pageLogin .standard-page-content::before {
    content: '';
    display: block;
    margin: 0 auto 50px;
    
    width: 287px;
    height: 50px;
    
    background: url(https://fs.getcourse.ru/fileservice/file/download/a/66109/sc/192/h/3f12b4770c09032b8aa9e0b69269fcdf.png) no-repeat center / contain; 
}

body.pageLogin .standard-page-content > div > span {
    color: #fff !important;
    text-align: center;
    font-family: 'Tilda Sans', sans-serif !important;
    font-size: clamp(24px, 5vw, 36px) !important;
    font-weight: 400 !important;
    line-height: 120%;
}

body.pageLogin .webinar-login {
    position: relative;
    margin-top: 70px;
    padding: 64px 36px 32px !important;
    
    max-width: 560px;
    text-align: center;
    border-radius: 10px;
    background: linear-gradient(143deg, #988C71 3.84%, #646464 95.14%);
}

body.pageLogin .webinar-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translatey(-50%) translatex(-50%);
    
    width: 113px;
    height: 116px;
    
    background: url(https://fs.getcourse.ru/fileservice/file/download/a/66109/sc/510/h/3ce29f492a5211100b9e660284694ed2.png) no-repeat center / contain;
}

body.pageLogin .webinar-login h3 {
    margin: 10px 0 20px !important;
    font-family: "Tilda Sans", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
    color: #fff;
}

body.pageLogin .webinar-login form .form-group {
    margin-bottom: 0;
}

body.pageLogin .webinar-login form input {
    height: 44px;
    text-align: center;
    border-radius: 5px !important;
    border: 1px solid #D9D9D9 !important;
    background: #fff !important;
    box-shadow: none;
}

body.pageLogin .webinar-login form button {
    margin-top: 8px;
    padding: 12px 62px;
    
    color: #1B1C1E;
    font-family: "Tilda Sans", sans-serif;
    font-size: 17px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    
    border: none;
    border-radius: 5px;
    background: #D8A566;
    transition: all .3s;
}

body.pageLogin .webinar-login form button:hover {
    color: #fff;
    background: #1B1C1E;
}

@media (max-width: 700px) {
    body.pageLogin .standard-page-content {
        margin-top: 10px;
    }
    
    body.pageLogin .standard-page-content::before {
        margin: 20px auto 10px;
        width: 200px;
        
    }
    
    body.pageLogin .webinar-login {
        margin-top: 60px;
    }
}

/* Страница ожидания начала вебинара */
.pageTeaser {
    background: #1B1C1E !important;
}

.pageTeaser .content {
    position: relative;
}

.pageTeaser .content::before {
    content: '';

    position: absolute;
    top: -50px;
    left: 50%;
    transform: translatex(-50%) translatey(-100%);

    width: 287px;
    height: 50px;
    
    background: url("https://fs.getcourse.ru/fileservice/file/download/a/66109/sc/192/h/3f12b4770c09032b8aa9e0b69269fcdf.png") no-repeat center / contain;
}

.pageTeaser .content {
    padding: 20px 48px 48px !important;
    max-width: 890px;
    text-align: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.10);
}

.pageTeaser .content .title {
    margin-bottom: 28px !important;
    font-family: "Tilda Sans", sans-serif;
    font-size: clamp(20px, 5vw, 36px);
    font-weight: 500;
    line-height: 120%;
    text-align: center;
    color: #ffffff;
}

.pageTeaser .content .description {
    margin-bottom: 24px !important;
    font-family: "Tilda Sans", sans-serif;
    font-size: clamp(16px, 5vw, 20px);
    font-weight: 400;
    line-height: 120%;
    text-align: center;
    color: #ffffff;
}

.pageTeaser .countdown-text {
    margin-bottom: 5px !important;
    font-family: "Tilda Sans", sans-serif;
    font-size: clamp(16px, 5vw, 24px);
    font-weight: 400;
    line-height: 140%;
    text-align: center;
    color: #fff;
}

.pageTeaser .content .countdown {
    width: fit-content;
    margin: 20px auto 0 !important;
    padding: 8px 60px;
    
    font-family: "Tilda Sans", sans-serif;
    font-size: clamp(20px, 5vw, 32px) !important;
    font-weight: 700;
    line-height: 120%;
    text-align: center;
    color: #2B2B2A;
    
    border-radius: 5px;
    background: #D8A566;
}

@media (max-width: 700px) {
    .pageTeaser .content {
        margin: auto 15px;
    }
    .pageTeaser .content::before {
        top: -10px;
        width: 200px;
    }
}

@media (max-width: 400px) {
    .pageTeaser .content {
        padding: 20px 24px 48px !important;
    }
}

/* Оформление вебинарной комнаты */
body.adminState .three-panel {
    height: 30px;
}

body.pageRoom:not(.adminState) {
    background: url(https://fs.getcourse.ru/fileservice/file/download/a/66109/sc/354/h/ea40e7b1ba8c10e82cda5d0261f1b2bd.png) no-repeat top right fixed !important;
}

body.pageRoom .webinar-started-block {
    padding-left: 40px !important;
    width: calc(100% - 500px);
}

body.pageRoom .webinar-started-block .container  {
    padding: 0;
}

body.pageRoom .webinar-started-block .part-header {
    position: relative;
    margin-bottom: 20px !important;
}

body.pageRoom .webinar-started-block .part-header::before {
    content: "";
    
    position: absolute;
    top: -5px;
    left: -12px;
    width: 28px;
    height: 50px;
    
    background: #C9A885;
    border-radius: 0 40px 40px 0;
    
    transform: translatex(-100%);
}

body.pageRoom .webinar-started-block .f-header.f-header-36 {
    font-family: "Tilda Sans", sans-serif;
    font-size: clamp(20px, 5vw, 34px);
    font-weight: 400;
    line-height: 120%;
    color: #fff;
}

body.pageRoom .webinar-started-block .video-block-main {
    width: 100% !important;
}

body.pageRoom .webinar-started-block  .container {
    border-radius: 10px;
}

/* Chat styles */
body.pageRoom:not(.adminState) .chat-widget {
    top: 40px;
    right: 40px;
    height: calc(100% - 80px);
    
    padding: 8px 20px 16px;
    
    background-size: 100% !important;
    
    border-radius: 10px;
    border: 1px solid rgba(219,219,219,0.1);
    background: rgba(255,255,255,0.1) !important;
    
    overflow: hidden;
}

body.pageRoom:not(.adminState) .chat-widget::before {
    position: relative;
    content: "Участники вебинара";
    
    margin: 0;
    padding: 10px 0 14px;
    
    color: #fff;
    font-family: "Tilda Sans", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; /* 18px */
    
    border-bottom: 1px solid rgba(255,255,255,0.1);
        
    z-index: 10;
}

body.pageRoom .chat-widget .webinar-count-users {
    margin-top: 16px;
    
    font-family: "Tilda Sans", sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    color: #fff;

    z-index: 15;
}


body.pageRoom .comments-tree {
    padding-top: 20px;
    height: 100% !important;
}

body.pageRoom .comments-tree .comments-container::-webkit-scrollbar {
    width: 6px;
}

body.pageRoom .comments-tree .comments-container::-webkit-scrollbar-track {
    background: rgba(241,241,241,0.1);
    border-radius: 10px;
}

body.pageRoom .comments-tree .comments-container::-webkit-scrollbar-thumb {
    background: #D8A566;
    border-radius: 10px;
}

body.pageRoom .comments-tree .comments-container::-webkit-scrollbar-thumb:hover {
    background: #ecc99d;
}

body.pageRoom .comment {
    overflow: visible;
}

body.pageRoom .gc-comment .title span[style="font-size: 12px; font-weight: normal;"] {
    margin-right: 10px;
}

body.pageRoom .gc-comment .title span {
    position: relative;

    font-family: "Tilda Sans", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 120%;
    color: #ffffff;
}

body.pageRoom:not(.adminState) .gc-comment .title span {
    padding-left: 5px;
}

body.pageRoom:not(.adminState) .gc-comment .title span::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 0;
    transform: translatex(-100%);
    
    width: 8px;
    height: 7px;
    
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='8' viewBox='0 0 7 8' fill='none'%3E%3Cpath d='M7 4L6.75414e-08 8L4.17233e-07 -3.0598e-07L7 4Z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat center;
}

body.pageRoom:not(.adminState) .gc-comment .title span::after {
    content: ":";
}

body.pageRoom .gc-comment .text .main .text-content {
    font-family: "Tilda Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 120%;
    color: #ffffff;
    letter-spacing: .5px;
}

body.pageRoom .gc-comment .title span[style="color: red;"] {
    color: #D8A566 !important;
}

body.pageRoom .gc-comment .title span[style="color: red;"]::before {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='8' viewBox='0 0 7 8' fill='none'%3E%3Cpath d='M7 4L6.75414e-08 8L4.17233e-07 -3.0598e-07L7 4Z' fill='%23D8A566'/%3E%3C/svg%3E") no-repeat center;
}

body.pageRoom .gc-comment-form {
    bottom: 20px !important;
    padding: 16px !important;
    
    width: calc(100% - 40px) !important;
    
    background: linear-gradient(143deg, #988C71 3.84%, #646464 95.14%);
    border-radius: 5px;
}

body.adminState .gc-comment-form {
    bottom: 0 !important;
    width: 100% !important;
    border-radius: 0 !important;
}

body.pageRoom .gc-comment-form .new-comment-input {
    padding: 4px 10px !important;
    height: 32px;
    
    font-family: "Proxima Nova", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 350;
    line-height: 120%;
    color: #000;
    
    background: #FBFBFB;
    border: none;
    border-radius: 3px;
}

body.pageRoom .gc-comment-form .webinar-btn-send,
body.pageRoom .gc-comment-form .webinar-chat-toggle {
    margin-top: 8px;
    padding: 8px 24px !important;
    height: inherit !important;
    min-width: inherit !important;
    
    font-family: "Tilda Sans", sans-serif;
    color: #2B2B2A;
    font-weight: 500;
    
    background: #D8A566;
    border: none;
    border-radius: 3px;
    
    transition: all .3s;
}

body.pageRoom .gc-comment-form .webinar-chat-toggle {
    color: #fff;
    background: #F4223E;
}

body.pageRoom .gc-comment-form .webinar-btn-send:hover {
    color: #fff;
    background: #1B1C1E;
}

.chat-isolation-caption {
    color: #fff;
}

body.pageRoom .gc-comment-form .webinar-btn-send .fa {
    display: none;
}

body.pageRoom .moderation-link {
    display: block;
    margin-top: 10px;
    color: #fff;
}

body.pageRoom.adminState .gc-comment .title {
    position: relative;
}

body.pageRoom.adminState .gc-comment .title:not(:has(a[style="color: red;"]))::after {
    content: ':'
}

body.pageRoom.adminState .gc-comment .title span,
body.pageRoom.adminState .gc-comment .text .main .text-content{
    color: #1B1C1E;
}

body.pageRoom.adminState .gc-comment .title span {
    font-weight: 600;
}


@media (max-width:992px) {
    
    body.pageRoom:not(.adminState) {
        
    }
    
    body.pageRoom .webinar-started-block {
        padding-left: 20px !important;
        width: calc(100% - 20px) !important;
    }
    
    body.pageRoom video {
        margin: 16px 0;
        border-radius: 10px;
    }
    
    body.pageRoom .lt-chat {
        padding: 12px 10px 16px;

        border-radius: 10px;
        border: 1px solid rgba(226,226,226,0.1);
        background: rgba(255,255,255,0.1) !important;

        overflow: hidden;
    }

    body.pageRoom .lt-chat::before {
        content: "Участники вебинара";

        display: block;
        padding: 5px 0 14px;
        width: 100%;

        color: #fff;
        font-family: 'Tilda Sans', sans-serif;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 120%; /* 18px */
        letter-spacing: .5px;

        border-bottom: 1px solid rgba(255,255,255,0.1);

        z-index: 10;    
    }
    
    body.pageRoom .comments-tree {
        padding: 10px 15px 10px;
        height: auto !important;
    }
    
    body.pageRoom .lt-chat .gc-comment .text .main .text-content {
        padding-left: 5px;
    }
    
    body.pageRoom .gc-comment-form {
        bottom: 40px !important;
        min-height: 100px !important;
        width: calc(100% - 65px) !important;
    }
    
    body.pageRoom .webinar-content-block.mobile[data-mobile-view="1"] .comments-main-container {
        padding-bottom: 190px;
    }
    
    body.pageRoom #webinar-content-block.mobile .comments-main-container {
        border: none;
    }
    
    body.pageRoom #webinar-content-block.mobile .gc-comment-form {
        height: 110px !important;
    }
    
    body.pageRoom .gc-comment-form .webinar-count-users {
        margin-top: 14px;
        font-family: "Proxima Nova", sans-serif;
        font-size: 12px;
        font-weight: 600;
        line-height: 120%;
        color: #fff;
    }
}

@media (max-width:520px) {
    body.pageRoom .comments-tree {
        height: 66vh !important;
    }
}